<?php

namespace App\Models;

class UserLikeModel extends BaseModel
{

    protected $table = 'cm_user_like';

    /**
     * 关联题目
     */
    public function question()
    {
        return $this->belongsTo(QuestionModel::class, 'q_id', 'id');
    }
}
